package com.ricchieri.filter;

import java.util.Date;

public class EmailToSendFilter extends BasicFilter {
	private static final long serialVersionUID = 1502771587875545780L;
	
	private String firstName;
	private String lastName;
	private String documentType;
	private String dni;
	private Date start;
	private Date finish;
	private String emailToSendType;
	private Boolean isMessageSent = Boolean.FALSE;
	private Boolean findIsMessageSent = Boolean.TRUE;
	private int attempCount = 3;
	
	public String getFirstName() {
		return firstName;
	}
	
	public void setFirstName(String firstName) {
		this.firstName = firstName;
	}
	
	public String getLastName() {
		return lastName;
	}
	
	public void setLastName(String lastName) {
		this.lastName = lastName;
	}
	
	public String getDocumentType() {
		return documentType;
	}
	
	public void setDocumentType(String documentType) {
		this.documentType = documentType;
	}
	
	public String getDni() {
		return dni;
	}
	
	public void setDni(String dni) {
		this.dni = dni;
	}
	
	public Date getStart() {
		return start;
	}
	
	public void setStart(Date start) {
		this.start = start;
	}
	
	public Date getFinish() {
		return finish;
	}
	
	public void setFinish(Date finish) {
		this.finish = finish;
	}
	
	public String getEmailToSendType() {
		return emailToSendType;
	}
	
	public void setEmailToSendType(String emailToSendType) {
		this.emailToSendType = emailToSendType;
	}
	
	public int getDocumentTypeId() {
		return Integer.valueOf(getDocumentType());
	}
	
	public Object getEmailToSendTypeId() {
		return Integer.valueOf(getEmailToSendType());
	}

	public Boolean getIsMessageSent() {
		return isMessageSent;
	}

	public void setIsMessageSent(Boolean isMessageSent) {
		this.isMessageSent = isMessageSent;
	}

	public Boolean getFindIsMessageSent() {
		return findIsMessageSent;
	}

	public void setFindIsMessageSent(Boolean findIsMessageSent) {
		this.findIsMessageSent = findIsMessageSent;
	}

	public int getAttempCount() {
		return attempCount;
	}

	public void setAttempCount(int attempCount) {
		this.attempCount = attempCount;
	}
}
